package cn.stylefeng.guns.modular.make.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import cn.stylefeng.guns.modular.make.entity.MakeRailwayPlatformManage;
import cn.stylefeng.guns.modular.make.model.params.MakeRailwayPlatformManageParam;
import cn.stylefeng.guns.modular.make.model.result.MakeRailwayPlatformManageResult;

/**
 * 月台预约管理 Mapper 接口
 */
public interface MakeRailwayPlatformManageMapper extends BaseMapper<MakeRailwayPlatformManage> {

    /**
     * 获取列表
     *
     * @author zhucx
     * @Date 2022-09-21
     */
    List<MakeRailwayPlatformManageResult> customList(@Param("paramCondition") MakeRailwayPlatformManageParam paramCondition);

    /**
     * 获取map列表
     *
     * @author zhucx
     * @Date 2022-09-21
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") MakeRailwayPlatformManageParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author zhucx
     * @Date 2022-09-21
     */
    Page<MakeRailwayPlatformManageResult> customPageList(@Param("page") Page page, @Param("paramCondition") MakeRailwayPlatformManageParam paramCondition, @Param("condition") String condition, @Param("operateId")Long operateId);

    /**
     * 获取分页实体列表
     *
     * @author zhucx
     * @Date 2022-09-21
     */
    Page<MakeRailwayPlatformManageResult> findMyPageBySpec(@Param("page") Page page, @Param("paramCondition") MakeRailwayPlatformManageParam paramCondition, @Param("condition") String condition, @Param("operateId")Long operateId);

    /**
     * 获取分页map列表
     *
     * @author zhucx
     * @Date 2022-09-21
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") MakeRailwayPlatformManageParam paramCondition);

	MakeRailwayPlatformManageResult checkBySpec(@Param("paramCondition")MakeRailwayPlatformManageParam param);

	Integer addReturnId(@Param("paramCondition")MakeRailwayPlatformManageParam param);

	List<MakeRailwayPlatformManageResult> findListBySpec(@Param("paramCondition")MakeRailwayPlatformManageParam param);

	Integer countBydate(@Param("paramCondition")MakeRailwayPlatformManageParam param,@Param("operateId")Long operateId);

	MakeRailwayPlatformManageResult findJingxingzhongBySpec(@Param("paramCondition")MakeRailwayPlatformManageParam param);

	MakeRailwayPlatformManageResult findPaiduizhongBySpec(@Param("paramCondition")MakeRailwayPlatformManageParam param);

	MakeRailwayPlatformManageResult findBySpec(@Param("paramCondition")MakeRailwayPlatformManageParam param);

}
